// Copyright (c) 2017, XMOS Ltd, All rights reserved
#include <stdint.h>
#include "sinewave.h"

int32_t sinewave[256] = {
  0,
  52701886,
  105372028,
  157978697,
  210490206,
  262874923,
  315101294,
  367137860,
  418953276,
  470516330,
  521795963,
  572761285,
  623381597,
  673626408,
  723465451,
  772868705,
  821806413,
  870249095,
  918167571,
  965532978,
  1012316784,
  1058490807,
  1104027236,
  1148898640,
  1193077990,
  1236538675,
  1279254515,
  1321199780,
  1362349204,
  1402677999,
  1442161874,
  1480777044,
  1518500249,
  1555308767,
  1591180425,
  1626093615,
  1660027308,
  1692961062,
  1724875039,
  1755750017,
  1785567396,
  1814309216,
  1841958164,
  1868497585,
  1893911493,
  1918184580,
  1941302224,
  1963250501,
  1984016188,
  2003586779,
  2021950483,
  2039096241,
  2055013723,
  2069693341,
  2083126254,
  2095304369,
  2106220351,
  2115867625,
  2124240380,
  2131333571,
  2137142927,
  2141664948,
  2144896909,
  2146836866,
  2147483647,
  2146836866,
  2144896909,
  2141664948,
  2137142927,
  2131333571,
  2124240380,
  2115867625,
  2106220351,
  2095304369,
  2083126254,
  2069693341,
  2055013723,
  2039096241,
  2021950483,
  2003586779,
  1984016188,
  1963250501,
  1941302224,
  1918184580,
  1893911493,
  1868497585,
  1841958164,
  1814309216,
  1785567396,
  1755750017,
  1724875039,
  1692961062,
  1660027308,
  1626093615,
  1591180425,
  1555308767,
  1518500249,
  1480777044,
  1442161874,
  1402677999,
  1362349204,
  1321199780,
  1279254515,
  1236538675,
  1193077990,
  1148898640,
  1104027236,
  1058490807,
  1012316784,
  965532978,
  918167571,
  870249095,
  821806413,
  772868705,
  723465451,
  673626408,
  623381597,
  572761285,
  521795963,
  470516330,
  418953276,
  367137860,
  315101294,
  262874923,
  210490206,
  157978697,
  105372028,
  52701886,
  0,
  -52701886,
  -105372028,
  -157978697,
  -210490206,
  -262874923,
  -315101294,
  -367137860,
  -418953276,
  -470516330,
  -521795963,
  -572761285,
  -623381597,
  -673626408,
  -723465451,
  -772868705,
  -821806413,
  -870249095,
  -918167571,
  -965532978,
  -1012316784,
  -1058490807,
  -1104027236,
  -1148898640,
  -1193077990,
  -1236538675,
  -1279254515,
  -1321199780,
  -1362349204,
  -1402677999,
  -1442161874,
  -1480777044,
  -1518500249,
  -1555308767,
  -1591180425,
  -1626093615,
  -1660027308,
  -1692961062,
  -1724875039,
  -1755750017,
  -1785567396,
  -1814309216,
  -1841958164,
  -1868497585,
  -1893911493,
  -1918184580,
  -1941302224,
  -1963250501,
  -1984016188,
  -2003586779,
  -2021950483,
  -2039096241,
  -2055013723,
  -2069693341,
  -2083126254,
  -2095304369,
  -2106220351,
  -2115867625,
  -2124240380,
  -2131333571,
  -2137142927,
  -2141664948,
  -2144896909,
  -2146836866,
  -2147483647,
  -2146836866,
  -2144896909,
  -2141664948,
  -2137142927,
  -2131333571,
  -2124240380,
  -2115867625,
  -2106220351,
  -2095304369,
  -2083126254,
  -2069693341,
  -2055013723,
  -2039096241,
  -2021950483,
  -2003586779,
  -1984016188,
  -1963250501,
  -1941302224,
  -1918184580,
  -1893911493,
  -1868497585,
  -1841958164,
  -1814309216,
  -1785567396,
  -1755750017,
  -1724875039,
  -1692961062,
  -1660027308,
  -1626093615,
  -1591180425,
  -1555308767,
  -1518500249,
  -1480777044,
  -1442161874,
  -1402677999,
  -1362349204,
  -1321199780,
  -1279254515,
  -1236538675,
  -1193077990,
  -1148898640,
  -1104027236,
  -1058490807,
  -1012316784,
  -965532978,
  -918167571,
  -870249095,
  -821806413,
  -772868705,
  -723465451,
  -673626408,
  -623381597,
  -572761285,
  -521795963,
  -470516330,
  -418953276,
  -367137860,
  -315101294,
  -262874923,
  -210490206,
  -157978697,
  -105372028,
  -52701886,
};
